<script lang="ts" setup>
import DataTable from './components/DataTable.vue'
import MessageNotice from './components/MessageNotice.vue'
import ContentLoading from '@/components/ContentLoading.vue'
import { useAdminAuthenticationStore } from './store/adminAuthentication'
import { storeToRefs } from 'pinia'
const store = useAdminAuthenticationStore()
const { contentLoading } = storeToRefs(store)
</script>

<template>
  <div>
    <ContentLoading v-if="contentLoading" />
    <MessageNotice v-if="!contentLoading" />
    <DataTable />
  </div>
</template>
